package com.gilight.base.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Collection;
import java.util.Date;
import java.util.stream.Collectors;

/**
 * @author Zheng Jie
 * @date 2018-11-23
 */
@Data
@AllArgsConstructor
public class JwtUser implements Serializable {
    private static final Long serialVersionUID = 89099090909099009L;
    @JsonIgnore
    private final Long id;

    private final String username;

    @JsonIgnore
    private final String password;

    private final String avatar;

    private final String email;

    private final String phone;

    private final String dept;

    private Long deptId;

    private final String job;




    private final boolean enabled;

    private Timestamp createTime;

}
